package com.link2room.cms.dto.result;

import com.link2room.common.dto.result.base.BaseTreeDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author sqj88
 * @date 2017/12/1 9:11
 */
@ApiModel
public class CmsBaseDto extends BaseTreeDto {
    @ApiModelProperty(value = "栏目类别代码",example = "news")
    private String categoryCode;
    @ApiModelProperty(value = "栏目上层类别代码",example = "ROOT")
    private String parentCode;
    @ApiModelProperty(value = "栏目位置代码")
    private String groupType;
    @ApiModelProperty(value = "标题",example = "testTitle")
    private String title;
    @ApiModelProperty(value = "语言",example = "zh-cn")
    private String language;
    @ApiModelProperty(value = "链接地址")
    private String url;
    @ApiModelProperty(value = "模板")
    private String template;
    @ApiModelProperty(value = "描述")
    private String descript;
    @ApiModelProperty(value = "缩略图")
    private String litPic;
    @ApiModelProperty(value = "栏目详情")
    private CmsBaseDetailDto cmsBaseDetailDto;

    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public CmsBaseDetailDto getCmsBaseDetailDto() {
        return cmsBaseDetailDto;
    }

    public void setCmsBaseDetailDto(CmsBaseDetailDto cmsBaseDetailDto) {
        this.cmsBaseDetailDto = cmsBaseDetailDto;
    }

    public String getGroupType() {
        return groupType;
    }

    public void setGroupType(String groupType) {
        this.groupType = groupType;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTemplate() {
        return template;
    }

    public void setTemplate(String template) {
        this.template = template;
    }

    public String getDescript() {
        return descript;
    }

    public void setDescript(String descript) {
        this.descript = descript;
    }

    public String getLitPic() {
        return litPic;
    }

    public void setLitPic(String litPic) {
        this.litPic = litPic;
    }
}
